<template>
    <div>
        hello world!!!
    </div>
</template>
<script>
export default{
    data() {
        return {
            leftNum:1,
            right:1,
            resultNum:null
        }
    },
    methods: {
        setResultNum() {
            console.log(this.leftNum,this.right)
            this.resultNum=Number(this.setResultNum)+Number(this.right)
            console.log(this.resultNum)
        }
    }
}
</script>